package cn.kgc.smbms.service;

import cn.kgc.smbms.projo.User;
import cn.kgc.smbms.projo.UserExt;

import java.security.PublicKey;
import java.util.List;

public interface UserService {
    public User findUserByLogin(String userCode,String userPassword);
    public boolean insertNewUser(User user);
    //查询所有
    public List<UserExt> selectUserList(int pageNo,int pageSize);
    //查询总记录数
    public int selectUserCount();
    public int userCount(String userName,String userRole);
    public List<UserExt> selectUserLikeMoreValue(String userName,String userRole);
}
